package org.shop.dao;

import java.util.List;
import java.util.Map;

import org.shop.dao.base.BaseDaoMapper;
import org.shop.entity.GoodsClassify;

public interface GoodsClassifyMapper extends BaseDaoMapper<GoodsClassify, Long>{
	/**
	 * 获取一级所有分类
	 * @return
	 */
	public List<GoodsClassify> getGoodsClassifyList(Map<String,Object> paramMap);
	
	/**
	 * 管理员获得商品分类list
	 * @param paramMap
	 * @return
	 */
	public List<GoodsClassify> getGoodsClassifyInfoList(Map<String,Object> paramMap);
	
	/**
	 * 管理员获得商品分类条数
	 * @param paramMap
	 * @return
	 */
	public int getGoodsClassifyInfoCount(Map<String,Object> paramMap);
	
	/**
	 * 获取子级分类
	 * @param paramMap
	 * @return
	 */
	public List<GoodsClassify> getGoodsClassifyChildInfoList(Map<String,Object> paramMap);
	
}